package com.java2018.springmvc.book.dao;

import com.java2018.springmvc.book.model.Book;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookMapper {
    List<Book> getAll();
    int add(Book book);
}
